package com.bingxue.edu.management.shop.model.query;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import com.bingxue.edu.common.enums.DiscountTypeEnum;
import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.shop.model.entity.CouponTemplate;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableRef(CouponTemplate.class)
@Schema(description = "优惠卷模板查询条件")
public class CouponTemplateQuery {

    @Schema(description = "优惠卷名称")
    @Query(type = QueryType.LIKE)
    private String name;

    @Schema(description = "折扣类型")
    private DiscountTypeEnum discountType;

    @Schema(description = "状态")
    private CommonStatusEnum status;

}
